python program to demonstrate nested ternary operator example

visit shbcf.ru